package com.biz.primus.model.promotion.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 活动详情Vo
 *
 * @author david-liu
 */
@Getter
@Setter
@ApiModel(value = "活动详情Vo")
public class ActivityVo implements Serializable {
    private static final long serialVersionUID = 4530476977380496375L;

    @ApiModelProperty(value = "活动ID")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String name;

    @ApiModelProperty(value = "活动描述")
    private String description;

    @ApiModelProperty(value = "活动图片")
    private String logo;

    @ApiModelProperty(value = "活动项")
    private List<ActivityItemVo> items;

    @ApiModelProperty(value = "活动富文本")
    private String rawHtml;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
